ci: reduce test workflow setup time#11409
Conversation
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Incremental review (7fd4ac2)The new commit adds The previously carried-forward WARNING about the
Minor note (not blocking): with Resolved since last review
Files Reviewed (1 file in incremental diff)
Fix these issues in Kilo Cloud Previous Review Summaries (5 snapshots, latest commit 3e51e3c)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 3e51e3c)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Latest commit (3e51e3c)The new commit is comment-only on Resolved since last review
Files Reviewed (1 file in incremental diff)
Fix these issues in Kilo Cloud Previous review (commit b96ef37)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Resolved since last review
Other Observations (not in diff)
Files Reviewed (2 files in incremental diff)
Fix these issues in Kilo Cloud Previous review (commit bbc5b7e)Status: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Other Observations (not in diff)
Files Reviewed (2 files in incremental diff)
Fix these issues in Kilo Cloud Previous review (commit dd42681)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)
Files Reviewed (1 file in incremental diff)
Fix these issues in Kilo Cloud Previous review (commit d6e63d2)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
Other Observations (not in diff)
Files Reviewed (2 files)
Reviewed by glm-5.2-20260616 · 206,092 tokens Review guidance: REVIEW.md from base branch |
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
7fd4ac2 to
3e51e3c
Compare
Summary
Reduce test workflow wall time by making Turbo caching functional, skipping a counterproductive Windows Bun package-cache restore/save, and requiring immutable dependency installs.
The previous Turbo cache path did not exist after test execution, so no task results were persisted. Caching Turbo's current default
.turbo/cachepath allows unchanged unit-test and prerequisite-build tasks to be reused across commits on the same OS. Tasks whose source, tests, dependencies, configuration, or declared hashed environment change still execute normally.Benchmark results
Setup Bunwithout the Bun package cache: 1m27sSetup Bunwith the roughly 1 GB Bun package cache: 2m23sThe A/B result favors skipping both restore and save of the Bun package cache on Windows while retaining it on Linux.
--frozen-lockfileprevents CI installs from silently changing the lockfile.This matches upstream OpenCode's intended Turbo policy: unit tests are cacheable and the workflow restores prior OS-specific task results across commits. Upstream currently fails to persist those results because it still points the cache action at the obsolete
node_modules/.cache/turbodirectory.